package com.ls.lserp.modules.produce.entity;

import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;
import com.ls.lserp.common.utils.excel.annotation.ExcelField;
import com.ls.lserp.dbaccess.Entity.ContractCustomEntity;
import com.ls.lserp.dbaccess.Entity.OperatingPEntity;
import com.ls.lserp.dbaccess.Entity.ProductionEntity;
import com.ls.lserp.dbaccess.Entity.TempOrderTableEntity;
import com.ls.lserp.dbaccess.Entity.UserGroupEntity;


public class WorkticketEntity extends DataEntity<WorkticketEntity> {
  
	private static final long serialVersionUID = 1L;
	
	//班组entity
	private UserGroupEntity userGroupEntity;
		
	//工序entity
	private OperatingPEntity operatingPEntity;
	
	//合同订单号
	private String contractNo;
	
	//生产制单号
	private String productionNo;
	
	//订单号
	private String orderNo;
	
	//生产号
	private String styleNo;
	
	//生产班组
	private String groupName;
	
	//人员姓名
	private String personName;
	
	//工序名称
	private String itemNameCn;
	
	//件数
	private String piecesNum;
	
	//数量
	private String processNumber;
	
	//单价
	private String unitPrice;
	
	//金额
	private String amount;
	
	// 画面时间
	private String dateStart;
	private String dateEnd;
	
	//生产工票
	List<WorkticketEntity> workticketEntity;

	
	@ExcelField(title = "订单号", align = 0, sort = 10)
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	@ExcelField(title = "单价", align = 0, sort = 45)
	public String getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(String unitPrice) {
		this.unitPrice = unitPrice;
	}
	@ExcelField(title = "金额", align = 0, sort = 50)
	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	@ExcelField(title = "数量", align = 0, sort = 40)
	public String getProcessNumber() {
		return processNumber;
	}

	public void setProcessNumber(String processNumber) {
		this.processNumber = processNumber;
	}

	@ExcelField(title = "合同订单号", align = 0, sort = 5)
	public String getContractNo() {
		return contractNo;
	}

	public void setContractNo(String contractNo) {
		this.contractNo = contractNo;
	}

	public String getProductionNo() {
		return productionNo;
	}

	public void setProductionNo(String productionNo) {
		this.productionNo = productionNo;
	}

	@ExcelField(title = "生产号", align = 0, sort = 15)
	public String getStyleNo() {
		return styleNo;
	}

	public void setStyleNo(String styleNo) {
		this.styleNo = styleNo;
	}

	@ExcelField(title = "生产班组", align = 0, sort = 20)
	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	@ExcelField(title = "人员姓名", align = 0, sort = 25)
	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	@ExcelField(title = "工序名称", align = 0, sort = 30)
	public String getItemNameCn() {
		return itemNameCn;
	}

	
	public String getPiecesNum() {
		return piecesNum;
	}

	public void setPiecesNum(String piecesNum) {
		this.piecesNum = piecesNum;
	}

	public void setItemNameCn(String itemNameCn) {
		this.itemNameCn = itemNameCn;
	}

	
	public String getDateStart() {
		return dateStart;
	}

	public void setDateStart(String dateStart) {
		this.dateStart = dateStart;
	}

	public String getDateEnd() {
		return dateEnd;
	}

	public void setDateEnd(String dateEnd) {
		this.dateEnd = dateEnd;
	}

	public List<WorkticketEntity> getWorkticketEntity() {
		return workticketEntity;
	}

	public void setWorkticketEntity(List<WorkticketEntity> workticketEntity) {
		this.workticketEntity = workticketEntity;
	}

	/**
	 * @return the userGroupEntity
	 */
	public UserGroupEntity getUserGroupEntity() {
		return userGroupEntity;
	}

	/**
	 * @param userGroupEntity the userGroupEntity to set
	 */
	public void setUserGroupEntity(UserGroupEntity userGroupEntity) {
		this.userGroupEntity = userGroupEntity;
	}

	/**
	 * @return the operatingPEntity
	 */
	public OperatingPEntity getOperatingPEntity() {
		return operatingPEntity;
	}

	/**
	 * @param operatingPEntity the operatingPEntity to set
	 */
	public void setOperatingPEntity(OperatingPEntity operatingPEntity) {
		this.operatingPEntity = operatingPEntity;
	}
	
}